#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

typedef struct stu{
    int id;
    char name[10];
    int age;
    char sex;//m为男,f为女 
    double Cscore;//语文成绩
    double Mscore;//数学成绩
    double Escore;//英语成绩

}Stu;
//单链表
typedef struct node {
    struct stu     s;
    struct node*   pNext;
    
}Node;

int main(){
    Node* list=NULL;
    int c;
    printf("通过哪方式来找:1.学号   2.姓名\n");
    while(1){
        scanf("%d",&c);
        switch(c){
            case 1: printf("1"); break;
            case 2:printf("2");  break;
            default: printf("输入错误，请重新输入!");       break;
        }
        if(1==c||2==c)return 0;
         
    }
    return 0;
}

